import static org.junit.Assert.assertEquals;

import org.junit.Test;


public class IPv4WrapperTest {

	/**
	 * The first result should be the IP of this computer
	 */
	@Test
	public void checkforComputerTest()
	{
		String myIP = "192.168.1.6";
		IPv4Wrapper test = new IPv4Wrapper();
		assertEquals(myIP, test.checkForComputers()[0]);
	}

	/**
	 * Should return the IP of this computer
	 */
	@Test
	public void getLocalTest()
	{
		String myIP = "192.168.1.6";
		IPv4Wrapper test = new IPv4Wrapper();
		assertEquals(myIP, test.getLocalHost());
	}
}
